/**
* Copyright (c) By zengqh.
*
* This program is just for fun or demo, in the hope that it  
* will be useful, you can redistribute it and/or modify freely.
*
* Time: 2013/04/30
* File: RenderTargetCube.h
* Blog: http://www.cnblogs.com/zengqh/
**/

#pragma once

#include "Texture2D.h"

namespace HY
{

class RenderTargetCube : public RenderObject
{
	friend class RenderSystem;
public:
	virtual ~RenderTargetCube() {}

	virtual void setColorTexture(uint8 idx, Texture2D* tex, uint8 face) = 0;
	virtual void setDepthTexture(Texture2D* tex) = 0;

	virtual void bind() = 0;
	virtual void unbind() = 0;

	virtual uint32 getSize() const = 0;
protected:
	RenderTargetCube()
		: RenderObject(TypeRenderTargetCube)
	{

	}

};
}